package com.jmu.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;

public class Student {

    private String UUID;
    private String name;
    private int age;
    private int sex;
    private String major;

    public Student() {
    }

    public Student(String UUID, String name, int age, int sex, String major) {
        this.UUID = UUID;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.major = major;
    }
    @JsonProperty("UUID")
    public String getUUID() {
        return UUID;
    }

    public void setUUID(String UUID) {
        this.UUID = UUID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    @Override
    public String toString() {
        return "Student{" +
                "UUID='" + UUID + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                ", major='" + major + '\'' +
                '}';
    }
}
